Using scp to copy a file "test_file" from your machine to the remote machine "test_machine" to the /tmp directory, using the account "test_user" on the remote machine, you do:
1.scp test_file:test_user@test_machine:/tmp
2.scp test_file test_machine@test_user:/tmp
3.scp -f test_file -u test_user -m test_machine -d /tmp
4.scp test_file test_user@test_machine:/tmp
Posted Date:-2022-10-01 09:01:37